package com.jframework.module.usps.beans.rates;

import com.jframework.module.usps.beans.Package;

public class RateV3RequestPackage implements Package 
{

    private String ID = null;
    private String Service = null;
    private String FirstClassMailType = null;
    private String ZipOrigination = null;
    private String ZipDestination = null;
    private Integer Pounds = null;
    private Integer Ounces = null;
    private String Container = null;
    private String Size = null;
    private Double Width = null;
    private Double Length = null;
    private Double Height = null;
    private Double Girth = null;
    private Boolean Machinable = null;
    
    public RateV3RequestPackage()
    {
	
    }
    
    public RateV3RequestPackage(String test)
    {
	this.ID = test;
	this.Service = "ALL";
	this.ZipDestination = "12309";
	this.ZipOrigination = "08536";
	this.Pounds = new Integer(2);
	this.Ounces = new Integer(3);
	this.Size = "REGULAR";
	this.Container = "RECTANGULAR";
	this.Machinable = new Boolean(true);
	this.Width = new Double(10);
	this.Height = new Double(6);
	this.Length = new Double(8.2);
    }
    
    public boolean equals(Object obj)
    {
	if (null != obj
	 && obj instanceof RateV3RequestPackage
	 && this.ID.equalsIgnoreCase(((RateV3RequestPackage)obj).getID())
	)
	   return true;
	
	return false;
    }
    /**
     * @return the container
     */
    public String getContainer() {
        return Container;
    }
    /**
     * @param container the container to set
     */
    public void setContainer(String container) {
        Container = container;
    }
    /**
     * @return the firstClassMailType
     */
    public String getFirstClassMailType() {
        return FirstClassMailType;
    }
    /**
     * @param firstClassMailType the firstClassMailType to set
     */
    public void setFirstClassMailType(String firstClassMailType) {
        FirstClassMailType = firstClassMailType;
    }
    /**
     * @return the girth
     */
    public Double getGirth() {
        return Girth;
    }
    /**
     * @param girth the girth to set
     */
    public void setGirth(Double girth) {
        Girth = girth;
    }
    /**
     * @return the height
     */
    public Double getHeight() {
        return Height;
    }
    /**
     * @param height the height to set
     */
    public void setHeight(Double height) {
        Height = height;
    }

    /**
     * @return the length
     */
    public Double getLength() {
        return Length;
    }
    /**
     * @param length the length to set
     */
    public void setLength(Double length) {
        Length = length;
    }
    /**
     * @return the machinable
     */
    public Boolean getMachinable() {
        return Machinable;
    }
    /**
     * @param machinable the machinable to set
     */
    public void setMachinable(Boolean machinable) {
        Machinable = machinable;
    }
    /**
     * @return the ounces
     */
    public Integer getOunces() {
        return Ounces;
    }
    /**
     * @param ounces the ounces to set
     */
    public void setOunces(Integer ounces) {
        this.Ounces = ounces;
    }
    /**
     * @return the pounds
     */
    public Integer getPounds() {
        return Pounds;
    }
    /**
     * @param pounds the pounds to set
     */
    public void setPounds(Integer pounds) {
        Pounds = pounds;
    }
    /**
     * @return the service
     */
    public String getService() {
        return Service;
    }
    /**
     * @param service the service to set
     */
    public void setService(String service) {
        Service = service;
    }
    /**
     * @return the size
     */
    public String getSize() {
        return Size;
    }
    /**
     * @param size the size to set
     */
    public void setSize(String size) {
        Size = size;
    }
    /**
     * @return the width
     */
    public Double getWidth() {
        return Width;
    }
    /**
     * @param width the width to set
     */
    public void setWidth(Double width) {
        Width = width;
    }
    /**
     * @return the zipDestination
     */
    public String getZipDestination() {
        return ZipDestination;
    }
    /**
     * @param zipDestination the zipDestination to set
     */
    public void setZipDestination(String zipDestination) {
        ZipDestination = zipDestination;
    }
    /**
     * @return the zipOrigination
     */
    public String getZipOrigination() {
        return ZipOrigination;
    }
    /**
     * @param zipOrigination the zipOrigination to set
     */
    public void setZipOrigination(String zipOrigination) {
        ZipOrigination = zipOrigination;
    }
    
    public String getID() {
	return this.ID;

    }
    public void setID(String id) {
	this.ID = id;
    }     
 

}
